package com.software.admincenter.repository;

import com.software.admincenter.entity.AdminInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @Author: huanhuan
 * @Date: 2023-06-13 08:43
 **/
public interface AdminInfoRepository extends JpaRepository<AdminInfo, Integer>, JpaSpecificationExecutor<AdminInfo> {
    List<AdminInfo> findAdminInfosByAdminNameAndPasswordAndIsUse(String adminName, String password, String isUse);
}
